package jacksen.cluster;

/**
 * Created by jacksen on 2015/12/4.
 */
public class ClusterUtil {

    /**
     * @return
     */
    public static double getDistanceBetweenTwoPoints(double x1, double y1, double x2, double y2) {
        return Math.sqrt(Math.pow((x1 - x2), 2) + Math.pow((y1 - y2), 2));
    }
}
